ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Bing Translator

by sys1yagi ST2

Bing Translator plugin for Sublime Text 2.

Details

  • 2013.02.12.05.55.01
  • github.​com
  • github.​com
  • 12 years ago
  • 1 hour ago
  • 12 years ago

Installs

  • Total 486
  • Win 334
  • Mac 92
  • Linux 60
Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeBingTranslator

Bing Translator plugin for Sublime Text 2.

settings

Preference > Package Settings > SublimeBingTranslator > Settings - Default (or User)

{
    //Translator Language Codes
    //http://msdn.microsoft.com/en-us/library/hh456380.aspx
    "from" : "en",
    "to" : "ja"
}

edit to “from” or “to”

Below is a link to the language code.
http://msdn.microsoft.com/en-us/library/hh456380.aspx

translate selection

command+shift+m

Translate selection and display the results to a new file. (if already opened result view, adds the results.)

ex. settings: en -> it

Error: language “plain” is not supported
*translate*
------------------------
this is beutiful code!! 
- - - - - - - - - - - - 
Questo è il codice beutiful!! 
------------------------

translate selection(reverse)

command+shift+alt+m

Default Settings translate “From” -> “To”. this command translate “To” -> “From” .

ex. settings: en -> it

Error: language “plain” is not supported
*translate*
------------------------
Questo è il codice beutiful!!  
- - - - - - - - - - - - 
This is the code beutiful!!  
------------------------

If you use frequently…

Bing translator can translate characters has limited.
if you use frequently, recommend publishing API keys.

Windows Azure Marketplace -Registering your application-
https://datamarket.azure.com/developer/applications/register

after published API keys. edit “SublimeBingTranslator.py”

class BingTranslatorSettings:
     ~~ ~~ ~~
    client_id = (new client id)
    client_secret = (new client secret)
     ~~ ~~ ~~
     ...